package com.qingcloud.adminbackend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qingcloud.adminbackend.entity.equipment.EquipmentNewBaseDataDTO;
import com.qingcloud.adminbackend.entity.monitordata.MonitorDataBO;
import com.qingcloud.adminbackend.entity.monitordata.MonitorDataDTO;
import com.qingcloud.adminbackend.entity.open.OpenEquipmentDataDTO;
import com.qingcloud.adminbackend.entity.weatherdata.WeatherBO;
import com.qingcloud.adminbackend.entity.weatherdata.WeatherDTO;
import com.qingcloud.adminbackend.entity.weatherdata.WeatherExportBO;

import java.util.List;

public interface IWeatherDataService {
    /**
     * 查询原始数据
     *
     * @param weatherBO
     * @return
     */
    IPage<WeatherDTO> getWeatherData(WeatherBO weatherBO, List<String> equipmentIds);

    /**
     * 查询原始数据
     *
     * @param weatherBO
     * @param equipmentIds
     * @return
     */
    List<EquipmentNewBaseDataDTO> getWeatherDataList(WeatherExportBO weatherBO, List<String> equipmentIds);

    /**
     * 监测数据列表API
     *
     * @param monitorDataBO
     * @return
     */
    IPage<MonitorDataDTO> getMonitorData(MonitorDataBO monitorDataBO);

    /**
     * 监测数据下拉API
     *
     * @return
     */
    List<String> findMonitorDataList();

    /**
     * 查询设备数据
     *
     * @param equipmentIds 设备编号
     * @param startTime    开始时间
     * @param endTime      截至时间
     * @return 设备数据列表
     */
    List<OpenEquipmentDataDTO> getEquipmentData(List<String> equipmentIds, String startTime, String endTime);

}
